(function() {
  app.directive('myApp', function() {
    var header = '<dir-header></dir-header>';
    var content = '<div ui-view id="content"></div>';
    var footer = '<dir-footer></dir-footer>';
    var tip_alert = '<alert-tip></alert-tip>';
    var center_dilog = '<center-dilog></center-dilog>';
    var toast = '<toast></toast>';
    var bottom_dilog = '<bottom-dilog></bottom-dilog>';
    var iphonex_adaptation = '<iphonex-adaptation></iphonex-adaptation>'

    var template = ''.concat(header, content, footer, tip_alert, center_dilog, toast, bottom_dilog, iphonex_adaptation);
    return {
      restrict: 'E',
      template: template,
      scope: false,
      link: function($scope, ele, atr) {}
    };
  });

})();